Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQLite Greatest and Least functions #312

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

chvonrohr
Copy link
Contributor

We use SQLite for automated testing.
Problem is, that MySQL functions greatest and least have different names in SQLite, which are max and min.

I added SQLite functions to translate them for DQL.

GREATEST(2,3) -> MAX(2,3)
LEAST(2,3) -> MIN(2,3)
@stevelacey
Copy link
Contributor

@chvonrohr thanks for your contribution 😄

@stevelacey stevelacey merged commit 38bbac0 into beberlei:master Jan 29, 2019
@chvonrohr
Copy link
Contributor Author

thanks for merging 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants